package cn.iocoder.yudao.module.written.exam.controller.admin.jobcategories.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 职位分类新增/修改 Request VO")
@Data
public class JobCategoriesSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27797")
    private Long id;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分类名称不能为空")
    private String categoryName;

    @Schema(description = "分类层级", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "分类层级不能为空")
    private Integer categoryLevel;

    @Schema(description = "直接父分类id（顶级目录时，该值为0）", requiredMode = Schema.RequiredMode.REQUIRED, example = "15253")
    @NotNull(message = "直接父分类id（顶级目录时，该值为0）不能为空")
    private Long parentCategoryId;

    @Schema(description = "所有父分类id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "所有父分类id不能为空")
    private String parentCategoryIds;

    @Schema(description = "启用状态（0：禁用，1：启用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用状态（0：禁用，1：启用）不能为空")
    private Integer enableStatus;

}